package cn.com.bluemoon.daps.model.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 模型用户授权表
 * </p>
 *
 * @author admin
 * @since 2021-02-22
 */
@Data
@Accessors
@ApiModel(value = "DapDataModelUserAccredit", description = "模型用户授权表")
public class DapDataModelUserAccredit extends BaseModel<DapDataModelUserAccredit> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "模型角色，1为模型管理者（在模型授权页面中不可编辑/去除），0/null为普通授权用户")
    private Boolean modelManager;

    @ApiModelProperty(value = "用户账号，目前对于表dap_system_login的account")
    private String userAccount;

    @ApiModelProperty(value = "用户邮箱，基于账号生成")
    private String userEmail;

    @ApiModelProperty(value = "权限操作类型，9：全部可访问，1：查看，2：编辑，3：删除，4：增加")
    private Integer operType = 9;


}
